package com.alm.token.ui.data.bean;

import java.util.List;

/**
 * Created by en on 2019/1/4.
 */

public class BuyHMioTransIndexData {


    /**
     * msg : 操作成功
     * status : 0
     * data : {"name":"HMIO","icon":"https://api.iotoken.info/static/images/mio.png","nowPrice":{"totalNum":"1900000","balanceNum":"1298600.0003","price":"0.2000","sort":1,"ratio":"68"},"price":"0.2000","wallets":[{"id":2,"name":"MIO","engName":"MioChain","logo":"https://api.iotoken.info/static/images/mio.png","transferSwitch":1,"drawAccountType":2,"application":null,"operation":null,"coininfo":null,"sort":0,"drawSwitch":1,"indexShowType":1,"addressShow":1,"changeSwitch":1,"candySwitch":0,"minTransfer":10,"maxTransfer":100000,"price":1.3899,"money":7010.18576874,"totalMoney":9743.45719997,"frozenMoney":174.1139,"change":true,"createTime":1545892609000,"updateTime":1574319802000,"agoorderMoney":0}],"nextPrice":{"totalNum":"1809523.8095","balanceNum":"1809523.8095","price":"0.2100","sort":2,"ratio":"100"}}
     * success : true
     * timestamp : 1574479768566
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * name : HMIO
         * icon : https://api.iotoken.info/static/images/mio.png
         * nowPrice : {"totalNum":"1900000","balanceNum":"1298600.0003","price":"0.2000","sort":1,"ratio":"68"}
         * price : 0.2000
         * wallets : [{"id":2,"name":"MIO","engName":"MioChain","logo":"https://api.iotoken.info/static/images/mio.png","transferSwitch":1,"drawAccountType":2,"application":null,"operation":null,"coininfo":null,"sort":0,"drawSwitch":1,"indexShowType":1,"addressShow":1,"changeSwitch":1,"candySwitch":0,"minTransfer":10,"maxTransfer":100000,"price":1.3899,"money":7010.18576874,"totalMoney":9743.45719997,"frozenMoney":174.1139,"change":true,"createTime":1545892609000,"updateTime":1574319802000,"agoorderMoney":0}]
         * nextPrice : {"totalNum":"1809523.8095","balanceNum":"1809523.8095","price":"0.2100","sort":2,"ratio":"100"}
         */

        private String name;
        private String icon;
        private double price;

        private double speedRatio;
        private double num;
        private double consumeNum;
        private double ratio;

        private NowPriceBean nowPrice;
        private NextPriceBean nextPrice;

        private List<WalletsBean> wallets;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public NowPriceBean getNowPrice() {
            return nowPrice;
        }

        public void setNowPrice(NowPriceBean nowPrice) {
            this.nowPrice = nowPrice;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getSpeedRatio() {
            return speedRatio;
        }

        public void setSpeedRatio(double speedRatio) {
            this.speedRatio = speedRatio;
        }

        public double getNum() {
            return num;
        }

        public void setNum(double num) {
            this.num = num;
        }

        public double getConsumeNum() {
            return consumeNum;
        }

        public void setConsumeNum(double consumeNum) {
            this.consumeNum = consumeNum;
        }

        public double getRatio() {
            return ratio;
        }

        public void setRatio(double ratio) {
            this.ratio = ratio;
        }

        public NextPriceBean getNextPrice() {
            return nextPrice;
        }

        public void setNextPrice(NextPriceBean nextPrice) {
            this.nextPrice = nextPrice;
        }

        public List<WalletsBean> getWallets() {
            return wallets;
        }

        public void setWallets(List<WalletsBean> wallets) {
            this.wallets = wallets;
        }

        public static class NowPriceBean {
            /**
             * totalNum : 1900000
             * balanceNum : 1298600.0003
             * price : 0.2000
             * sort : 1
             * ratio : 68
             */

            private double totalNum;
            private double balanceNum;
            private double price;
            private int sort;
            private double ratio;

            public double getTotalNum() {
                return totalNum;
            }

            public void setTotalNum(double totalNum) {
                this.totalNum = totalNum;
            }

            public double getBalanceNum() {
                return balanceNum;
            }

            public void setBalanceNum(double balanceNum) {
                this.balanceNum = balanceNum;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public double getRatio() {
                return ratio;
            }

            public void setRatio(double ratio) {
                this.ratio = ratio;
            }
        }

        public static class NextPriceBean {
            /**
             * totalNum : 1809523.8095
             * balanceNum : 1809523.8095
             * price : 0.2100
             * sort : 2
             * ratio : 100
             */

            private double totalNum;
            private double balanceNum;
            private double price;
            private int sort;
            private double ratio;

            public double getTotalNum() {
                return totalNum;
            }

            public void setTotalNum(double totalNum) {
                this.totalNum = totalNum;
            }

            public double getBalanceNum() {
                return balanceNum;
            }

            public void setBalanceNum(double balanceNum) {
                this.balanceNum = balanceNum;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public double getRatio() {
                return ratio;
            }

            public void setRatio(double ratio) {
                this.ratio = ratio;
            }
        }

        public static class WalletsBean {
            /**
             * id : 2
             * name : MIO
             * engName : MioChain
             * logo : https://api.iotoken.info/static/images/mio.png
             * transferSwitch : 1
             * drawAccountType : 2
             * application : null
             * operation : null
             * coininfo : null
             * sort : 0
             * drawSwitch : 1
             * indexShowType : 1
             * addressShow : 1
             * changeSwitch : 1
             * candySwitch : 0
             * minTransfer : 10
             * maxTransfer : 100000
             * price : 1.3899
             * money : 7010.18576874
             * totalMoney : 9743.45719997
             * frozenMoney : 174.1139
             * change : true
             * createTime : 1545892609000
             * updateTime : 1574319802000
             * agoorderMoney : 0
             */

            private int id;
            private String name;
            private String engName;
            private String logo;
            private int transferSwitch;
            private int drawAccountType;
            private Object application;
            private Object operation;
            private Object coininfo;
            private int sort;
            private int drawSwitch;
            private int indexShowType;
            private int addressShow;
            private int changeSwitch;
            private int candySwitch;
            private double minTransfer;
            private double maxTransfer;
            private double price;
            private double money;
            private double totalMoney;
            private double frozenMoney;
            private boolean change;
            private long createTime;
            private long updateTime;
            private double agoorderMoney;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEngName() {
                return engName;
            }

            public void setEngName(String engName) {
                this.engName = engName;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public int getTransferSwitch() {
                return transferSwitch;
            }

            public void setTransferSwitch(int transferSwitch) {
                this.transferSwitch = transferSwitch;
            }

            public int getDrawAccountType() {
                return drawAccountType;
            }

            public void setDrawAccountType(int drawAccountType) {
                this.drawAccountType = drawAccountType;
            }

            public Object getApplication() {
                return application;
            }

            public void setApplication(Object application) {
                this.application = application;
            }

            public Object getOperation() {
                return operation;
            }

            public void setOperation(Object operation) {
                this.operation = operation;
            }

            public Object getCoininfo() {
                return coininfo;
            }

            public void setCoininfo(Object coininfo) {
                this.coininfo = coininfo;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getDrawSwitch() {
                return drawSwitch;
            }

            public void setDrawSwitch(int drawSwitch) {
                this.drawSwitch = drawSwitch;
            }

            public int getIndexShowType() {
                return indexShowType;
            }

            public void setIndexShowType(int indexShowType) {
                this.indexShowType = indexShowType;
            }

            public int getAddressShow() {
                return addressShow;
            }

            public void setAddressShow(int addressShow) {
                this.addressShow = addressShow;
            }

            public int getChangeSwitch() {
                return changeSwitch;
            }

            public void setChangeSwitch(int changeSwitch) {
                this.changeSwitch = changeSwitch;
            }

            public int getCandySwitch() {
                return candySwitch;
            }

            public void setCandySwitch(int candySwitch) {
                this.candySwitch = candySwitch;
            }

            public double getMinTransfer() {
                return minTransfer;
            }

            public void setMinTransfer(double minTransfer) {
                this.minTransfer = minTransfer;
            }

            public double getMaxTransfer() {
                return maxTransfer;
            }

            public void setMaxTransfer(double maxTransfer) {
                this.maxTransfer = maxTransfer;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public double getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(double totalMoney) {
                this.totalMoney = totalMoney;
            }

            public double getFrozenMoney() {
                return frozenMoney;
            }

            public void setFrozenMoney(double frozenMoney) {
                this.frozenMoney = frozenMoney;
            }

            public boolean isChange() {
                return change;
            }

            public void setChange(boolean change) {
                this.change = change;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public double getAgoorderMoney() {
                return agoorderMoney;
            }

            public void setAgoorderMoney(double agoorderMoney) {
                this.agoorderMoney = agoorderMoney;
            }
        }
    }
}
